    <!DOCTYPE html>
    <html>
    <head>
        <meta charset="utf-8">
        <title>使用 layDate 独立版</title>
        <link rel="stylesheet" href="layui/css/layui.css" media="all">
        <script src="layui/layui.js"></script>
    </head>
    <body>
    <input type="text" id="test1">
    <script src="laydate.js"></script> <!-- 改成你的路径 -->
    <script>
        //执行一个laydate实例
        laydate.render({
            elem: '#test1' //指定元素
        });
    </script>
    </body>
    </html>